package com.ruoyi.apparatus.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 实验器材对象 algs_experimental_apparatus
 * 
 * @author ruoyi
 * @date 2023-03-17
 */
public class AlgsExperimentalApparatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 器材ID */
    private Long experimentalApparatusId;

    /** 器材名称 */
    @Excel(name = "器材名称")
    private String experimentalApparatusName;

    /** 数量 */
    @Excel(name = "数量")
    private Long experimentalApparatusNum;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date experimentalApparatusDate;

    /** 负责人ID（外键） */
    @Excel(name = "负责人ID", readConverterExp = "外=键")
    private Long staffId;

    /** 备用列 */
    @Excel(name = "备用列")
    private Long experimentalApparatusBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String experimentalApparatusBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private String experimentalApparatusBy3;

    public void setExperimentalApparatusId(Long experimentalApparatusId) 
    {
        this.experimentalApparatusId = experimentalApparatusId;
    }

    public Long getExperimentalApparatusId() 
    {
        return experimentalApparatusId;
    }
    public void setExperimentalApparatusName(String experimentalApparatusName) 
    {
        this.experimentalApparatusName = experimentalApparatusName;
    }

    public String getExperimentalApparatusName() 
    {
        return experimentalApparatusName;
    }
    public void setExperimentalApparatusNum(Long experimentalApparatusNum) 
    {
        this.experimentalApparatusNum = experimentalApparatusNum;
    }

    public Long getExperimentalApparatusNum() 
    {
        return experimentalApparatusNum;
    }
    public void setExperimentalApparatusDate(Date experimentalApparatusDate) 
    {
        this.experimentalApparatusDate = experimentalApparatusDate;
    }

    public Date getExperimentalApparatusDate() 
    {
        return experimentalApparatusDate;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setExperimentalApparatusBy1(Long experimentalApparatusBy1) 
    {
        this.experimentalApparatusBy1 = experimentalApparatusBy1;
    }

    public Long getExperimentalApparatusBy1() 
    {
        return experimentalApparatusBy1;
    }
    public void setExperimentalApparatusBy2(String experimentalApparatusBy2) 
    {
        this.experimentalApparatusBy2 = experimentalApparatusBy2;
    }

    public String getExperimentalApparatusBy2() 
    {
        return experimentalApparatusBy2;
    }
    public void setExperimentalApparatusBy3(String experimentalApparatusBy3) 
    {
        this.experimentalApparatusBy3 = experimentalApparatusBy3;
    }

    public String getExperimentalApparatusBy3() 
    {
        return experimentalApparatusBy3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("experimentalApparatusId", getExperimentalApparatusId())
            .append("experimentalApparatusName", getExperimentalApparatusName())
            .append("experimentalApparatusNum", getExperimentalApparatusNum())
            .append("experimentalApparatusDate", getExperimentalApparatusDate())
            .append("staffId", getStaffId())
            .append("experimentalApparatusBy1", getExperimentalApparatusBy1())
            .append("experimentalApparatusBy2", getExperimentalApparatusBy2())
            .append("experimentalApparatusBy3", getExperimentalApparatusBy3())

            .toString();
    }
}
